<script setup></script>

<template>
  <el-config-provider :locale="locale">
    <router-view />
  </el-config-provider>
</template>

<script>
import { ElConfigProvider } from "element-plus"; //ElementPlus国际化{中文}配置
import zhCn from "element-plus/lib/locale/lang/zh-cn";

export default {
  components: {
    ElConfigProvider,
  },
  data() {
    return {
      locale: zhCn,
    };
  },
};
</script>

<style scoped></style>
